package models;

import javax.persistence.*;
import play.db.jpa.Model;

@Entity
public class Favorite extends Model {
	@ManyToOne
	public Customer customer;
	@ManyToOne
	public Restaurant restaurant;
	
	public Favorite(Customer customer, Restaurant restaurant) {
		super();
		this.customer = customer;
		this.restaurant = restaurant;
	}
}
